package com.Threecharacters.Poly_.Detail;

public class Animal {

    private int age;

    String name = "Animal";
    public void sleep(){
        System.out.println("Animal sleep");
    }
    public void eat(){
        System.out.println("Animal eat");
    }
    public void walk(){
        System.out.println("Animal walk");
    }
    public void show(){
        System.out.println("hello,sir!");
    }
}











